﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
    public class OrderSale
    {
        /// <summary>
        /// 销售订单id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 销售单编号
        /// </summary>
        public string Number { get; set; }


        /// <summary>
        /// 报价单ID
        /// </summary>
        public int OrderQuoteId { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>
        public string CustomerNumber { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }


        /// <summary>
        /// 联系人
        /// </summary>
        public string CustomerContact { get; set; }


        /// <summary>
        /// 联系人电话
        /// </summary>
        public string CustomerContactTel { get; set; }
         /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime? DeliveryDate { get; set; }
        /// <summary>
        /// 交货地址
        /// </summary>
        public string DeliveryLocation { get; set; }
        /// <summary>
        /// 收款方式
        /// </summary>
        public string PaymentCategory { get; set; }
        /// <summary>
        /// 收款账户
        /// </summary>
        public string PaymentAccount { get; set; }
        /// <summary>
        /// 收款日期
        /// </summary>
        public DateTime? PaymentTime { get; set; }
        /// <summary>
        /// 运输方式
        /// </summary>
        public string Transfer { get; set; }
        /// <summary>
        /// 出货仓Id
        /// </summary>
        public int WarehouseId { get; set; }
        /// <summary>
        /// 出货仓
        /// </summary>
        public string WarehouseName { get; set; }


        /// <summary>
        /// 总价
        /// </summary>
        public decimal Price { get; set; }





        /// <summary>
        /// 总数量
        /// </summary>
        public float Count { get; set; }

        /// <summary>
        /// 优惠
        /// </summary>

        public string DisCount { get; set; }

        /// <summary>
        /// 订货日期
        /// </summary>
        public DateTime OrderDate { get; set; }

        /// <summary>
        /// 是否含税
        /// </summary>
        public string IsTax { get; set; }
        /// <summary>
        /// 含税
        /// </summary>
        public float IncludeTax { get; set; }
        /// <summary>
        /// 不含税
        /// </summary>
        public float NoIncludeTax { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }
    }
}
